﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="jquery-1.8.0.js" type="text/javascript"></script>
    <script type="text/javascript">
        $.holdReady(true);
        $.getScript("jquery.form.js", function () {
            $.holdReady(false);
        });
        $("p", document.body).each(function (key, value) {
            alert(key + " : " + $(this).html());
        });

        $(function () {
           $("<div>", {
               "class": "test",
                text: "Click me!",
                click: function () {
                    alert("I'am  new ");
                }
            }).appendTo("body");
  
        });
    </script>
</head>
<body>
<p>哈哈哈哈</p>
<p>hahahaha</p>
</body>
</html>
